package pers.vic.test.config.thymeleaf;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import pers.vic.boot.base.handler.thymeleaf.util.ConversionDialect;
import pers.vic.test.thymeleaf.VicCustomerDialect;

/**
 * 描述:
 * @author Vic.xu
 * @date 2022-02-11 10:48
 */
@Configuration
public class ThymeleafDialectConfig {

    @Bean
    public VicCustomerDialect securityDialect() {
        return new VicCustomerDialect();
    }


    @Bean
    public ConversionDialect conversionDialect() {
        return new ConversionDialect();
    }
}
